<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace app\order\model;

use think\Model as ThinkModel;

/**
 * 订单模型
 * @package app\cms\model
 */
class Order extends ThinkModel
{
    // 设置当前模型对应的完整数据表名称
    protected $table = '__ORDER__';
    
    public function order_product()
    {
        return $this->hasMany('OrderProduct');
    }
    
    public static function getStatus($id){
        p($id);die;
    }
}